package com.example.teacher.mapper;

import com.example.teacher.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 讲师 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-05-21
 */
public interface TeacherMapper extends BaseMapper<Teacher> {
    @Select("select * from edu_teacher where id=#{id}")
    public Teacher getTeacherById(String id);
}
